<?php
class formApi extends baseApi{

	public function get_menu_expand(){
        return array(
            0 => array('name'=>'自定义表单','url'=>url('admin_category/index'),'sequence'=>1),
            );
    }

	//表单列表
	public function form_list(){
		return model('form')->form_list();
	}

	//表单标签列表
	public function hook_label_list(){
		return array(
			'form_list'=>array(
				'app'=>'form',
				'action'=>'label_form_list',
			)
		);
	}
	
	public function label_form_list($data){
        return model('form_label')->form_list($data['data']);
    }
	
}